<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <script>
    //准备一些数据 
    var hongbin = {
        name: '小明',
        age: 18
    }

    var arr1 = [111,222,333,666];

    function fn1(num1,num2){
        console.group('fn1函数打印');
        console.log('num1:',num1);
        console.log('num2:',num2);
        console.log('this',this);
        console.groupEnd();
    }
    //标准的函数调用
    // fn1(77,99)  this->window 

    // 利用call 来调用函数

    fn1.call(hongbin,55,88);
   </script> 
</body>
</html>